package com.situ.bean;

import java.math.BigDecimal;
import java.util.Date;

public class Order {

    private int id;


    private String code ;
    private int userid;
    private BigDecimal  money;
    //加入时间
    private  Date   addtime;
    private  String paymenttime;
    private  String deliverytime;
    private  String gettime;
    private  String endtime;
    private  String updatetime;
    private  String orderaddress;
    private  String state;

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getOrderaddress() {
        return orderaddress;
    }

    public void setOrderaddress(String orderaddress) {
        this.orderaddress = orderaddress;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }


    public String getDeliverytime() {
        return deliverytime;
    }

    public void setDeliverytime(String deliverytime) {
        this.deliverytime = deliverytime;
    }

    public String getPaymenttime() {
        return paymenttime;
    }

    public void setPaymenttime(String paymenttime) {
        this.paymenttime = paymenttime;
    }

    public String getGettime() {
        return gettime;
    }

    public void setGettime(String gettime) {
        this.gettime = gettime;
    }

    public String getEndtime() {
        return endtime;
    }

    public void setEndtime(String endtime) {
        this.endtime = endtime;
    }

    public String getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(String updatetime) {
        this.updatetime = updatetime;
    }


    public Date getAddtime() {
        return addtime;
    }

    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", code='" + code + '\'' +
                ", userid=" + userid +
                ", money=" + money +
                ", addtime=" + addtime +
                ", paymenttime='" + paymenttime + '\'' +
                ", deliverytime='" + deliverytime + '\'' +
                ", gettime='" + gettime + '\'' +
                ", endtime='" + endtime + '\'' +
                ", updatetime='" + updatetime + '\'' +
                ", orderaddress='" + orderaddress + '\'' +
                ", state='" + state + '\'' +
                '}';
    }
}
